package com.ruoyi.ma.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.ruoyi.ma.domain.MaMaterialProgressDetails;
import com.ruoyi.ma.domain.bo.MaMaterialMeasureSingleBo;
import com.ruoyi.ma.domain.bo.MaMaterialProgressDetailsBo;
import com.ruoyi.ma.domain.vo.MaMaterialMeasureSingleVo;
import com.ruoyi.ma.domain.vo.MaMaterialProgressDetailsVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 材料进度详情Mapper接口
 *
 * @author llb
 * @date 2024-11-01
 */
public interface MaMaterialProgressDetailsMapper extends BaseMapperPlus<MaMaterialProgressDetailsMapper, MaMaterialProgressDetails, MaMaterialProgressDetailsVo> {

    List<MaMaterialProgressDetailsVo> allList(@Param(Constants.WRAPPER) Wrapper<MaMaterialProgressDetails> lqw, @Param("bo") MaMaterialProgressDetailsBo bo);

    List<MaMaterialProgressDetailsVo> progressDetails(@Param("bo") MaMaterialMeasureSingleBo bo);

    List<MaMaterialProgressDetails> getMonthDetails(@Param("progressId") Long progressId, @Param("gysId") Long gysId);
}
